package cn.tedu.tmall.passport.service;

import cn.tedu.common.pojo.authentication.CurrentPrincipal;
import cn.tedu.tmall.passport.pojo.param.*;
import cn.tedu.tmall.passport.pojo.vo.StaffLoginResultVO;
import cn.tedu.tmall.passport.pojo.vo.UserLoginResultVO;

public interface IStaffService {

    StaffLoginResultVO login(StaffLoginInfoParam staffLoginInfoParam,
                             String remoteAddr, String userAgent);

    void logout(CurrentPrincipal currentPrincipal);

    //用户注册
    int StaffReg(StaffRegParam staffRegParam);


//    void sendMessage(String phone);

//    UserLoginResultVO loginByPhone(LoginByPhoneParam loginByPhoneParam,
//                                   String remoteAddr, String userAgent);
}
